<template>
  <div>
    <button @click="Btn">{{ title }}</button>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
  },
  methods:{
    Btn(){
      this.$emit('click')
    }
  }
}
</script>

<style></style>
